package cn.springboot.mybatis.dao.service;

import cn.springboot.mybatis.dao.mapper.UserMapper;
import cn.springboot.mybatis.dao.model.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import static org.apache.coyote.http11.Constants.a;

/**
 * service
 *
 * @author junrui.wang
 * @create 217/9/8
 */
@Service
public class UserService {
    @Autowired
    private UserMapper userMapper;

    public User select(String id){
        return userMapper.select(id);
    }

}
